package com.mcxx.modules.miniSalvation.family.dto;

import com.mcxx.validate.group.Creation;
import com.mcxx.validate.group.Update;
import com.yinhai.ta404.core.validate.annotation.V;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
public class ExtremePovertyApplyDTO implements Serializable {

    @V(value = {"notnull"},groups = {Update.class})
    private String orderId;


    @V(value = {"notnull"},groups = {Update.class})
    private String familyId;


    private String memberId;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String areaCode;


    private String areaName;


    private String orderBizState;


    private String orderState;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String applyName;


    @V(value = {"notnull","idcard"},groups = {Creation.class,Update.class})
    private String applyIdcard;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String familyRelation;


    private String name;


    private String idcard;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private Date applyDate;


    private Integer saveMemberNumber;


    private String phone;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String address;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String reason;


    private String objectType;


    private String businessType;


    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String standType;


    private String countType;


    private String cardImage;


    private String poorType;


    private Integer familyNumber;


    private Double familyRevenue;


    @V(value = {"notnull"},message = "操作类型不能为空",groups = {Creation.class,Update.class})
    private String type;


    private String memberOldState;


    private String agentName;


    private String agentIdcard;


    private String agentPhone;


//    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String areaCodeCz;


    private String dataFrom;


    private String orderInhouseId;

    private Date checkDate;

    private String checkPeople;

    private String checkContent;

    private String inHouseState;

    private String userAreaLevel;

    private Date updateTime;

    private List<String> inhouseCertIdList;



    private String remark;
}
